home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1991 / Jan 91 / MacApp.Tech$ 1⁄25⁄91 / 2765-RE[2] TTEView text l-Jan91 < prev    next >
Encoding:
Text File  |  1991-03-06  |  993 b   |  31 lines  |  [TEXT/GEOL]

  1. Item    7148412                         21-Jan-91        18:11PST
  2.  
  3. From:   FAITH.CURTIS                    Efficient Field Svc, C Faith,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. ------------------------------------------------------------------------------
  8.  
  9. Sub:    RE[2] TTEView text lins prob
  10.  
  11. Lori,
  12.  
  13. I think the problem you describe is because the TEView does not know that its
  14. size has changed.
  15.  
  16. The standard solution to the problem is to call ShowReverted.
  17.  
  18. This call makes a call to AdjustSize and then ForceRedraw, then ShowReverted
  19. for all the subviews, but I normally just call AdjustSize and ForceRedraw by
  20. themselves since ShowReverted implies the action has something to do with
  21. reverting and this is not usually the case (besides there being no need for a
  22. call to ShowReverted for all the subviews).
  23.  
  24. You may also potentially have to call RecalcText before the AdjustSize call but
  25. I am not completely sure of this.
  26.  
  27. Hope this helps,
  28.  
  29. Curtis Faith
  30.  
  31.